/* Base Styles */
:root {
  --primary-color: #4361ee;
  --primary-dark: #3a56d4;
  --secondary-color: #3f37c9;
  --accent-color: #4895ef;
  --light-color: #ffffff;
  --dark-color: #212529;
  --success-color: #4cc9f0;
  --warning-color: #f8961e;
  --danger-color: #f94144;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: white;
  color: var(--dark-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Header styling */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.75rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo img {
  height: 40px;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav a:hover {
  color: var(--primary-color);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-color);
  cursor: pointer;
}

/* Hero Section */
    .hero-container {
            width: 100%;
            max-width: 100%;
            aspect-ratio: 1 / 1;
            background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .hero-pattern {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.2) 0%, transparent 20%),
                linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
            z-index: 0;
        }
        
        .circle {
            position: absolute;
            top: 10%;
            left: 10%;
            width: 300px;
            height: 300px;
            background: linear-gradient(45deg, #ff8a00, #e52e71);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            z-index: 1;
            animation: float 6s ease-in-out infinite;
        }
        
        .circle-text {
            color: white;
            font-weight: 600;
            text-align: center;
            font-size: 18px;
            padding: 20px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }
        
        .trapezoid {
            position: absolute;
            top: 15%;
            right: 10%;
            border-bottom: 180px solid rgba(25, 118, 210, 0.85);
            border-left: 40px solid transparent;
            border-right: 40px solid transparent;
            width: 500px;
            transform: rotate(3deg);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            z-index: 1;
        }
        
        .trapezoid-content {
            position: absolute;
            top: 30px;
            left: 0;
            width: 100%;
            text-align: center;
            color: white;
            padding: 0 25px;
        }
        
        .hero-title {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 15px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }
        
        .hero-subtitle {
            font-size: 16px;
            line-height: 1.5;
            margin-bottom: 20px;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
        }
        
        .special-button {
            background: linear-gradient(to right, #ff8a00, #da1b60);
            border: none;
            padding: 12px 30px;
            border-radius: 30px;
            color: white;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .special-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }
        
        .special-button a {
            color: white;
            text-decoration: none;
            display: block;
        }
        
        /* Mobile-specific adjustments */
        .mobile-button {
            display: none;
        }
        
        /* Responsive adjustments */
        @media (max-width: 900px) {
            .hero-container {
                max-width: 100%;
                padding: 20px;
            }
            
            .circle {
                width: 120px;
                height: 120px;
                top: 8%;
                left: 8%;
            }
            
            .circle-text {
                font-size: 15px;
                padding: 15px;
            }
            
            .trapezoid {
                right: 5%;
                border-bottom-width: 160px;
                width: 250px;
            }
            
            .hero-title {
                font-size: 19px;
            }
            
            .hero-subtitle {
                font-size: 14px;
            }
        }
        
        @media (max-width: 600px) {
            .hero-container {
                max-width: 800px;
                aspect-ratio: 3/4;
                padding: 15px;
            }
            
            .circle {
                width: 100px;
                height: 100px;
                top: 6%;
                left: 50%;
                transform: translateX(-50%);
            }
            
            .circle-text {
                font-size: 14px;
                padding: 10px;
            }
            
            .trapezoid {
                position: relative;
                top: 140px;
                left: 50%;
                transform: translateX(-50%) rotate(0);
                width: 400px;
                height: 100px;
                border-bottom: 200px solid rgba(25, 118, 210, 0.85);
                margin-bottom: 180px;
            }
            
            .trapezoid-content {
                padding: 0 20px;
            }
            
            .hero-title {
                font-size: 20px;
                margin-bottom: 12px;
            }
            
            .hero-subtitle {
                font-size: 14px;
                margin-bottom: 15px;
            }
            
            /* Hide button inside trapezoid on mobile */
            .trapezoid .special-button {
                display: none;
            }
            
            /* Show mobile button */
            .mobile-button {
                display: block;
                position: absolute;
                bottom: 30px;
                left: 50%;
                transform: translateX(-50%);
                width: 80%;
                text-align: center;
            }
            
            .mobile-button .special-button {
                width: 100%;
                padding: 14px 0;
                font-size: 16px;
            }
        }
        
        @media (max-width: 400px) {
            .hero-container {
                max-width: 300px;
            }
            
            .circle {
                width: 90px;
                height: 90px;
            }
            
            .circle-text {
                font-size: 12px;
            }
            
            .trapezoid {
                width: 240px;
                border-bottom-width: 180px;
            }
            
            .hero-title {
                font-size: 18px;
            }
            
            .hero-subtitle {
                font-size: 13px;
            }
        }
        
        /* Animation */
        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }
        
        /* Decorative elements */
        .decorative-circle {
            position: absolute;
            width: 80px;
            height: 80px;
            border: 3px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            bottom: 20%;
            left: 20%;
        }
        
        .decorative-square {
            position: absolute;
            width: 60px;
            height: 60px;
            border: 3px solid rgba(255, 255, 255, 0.2);
            bottom: 30%;
            right: 25%;
            transform: rotate(15deg);
        }
        
        @media (max-width: 600px) {
            .decorative-circle, .decorative-square {
                display: none;
            }
        }
/* Main Content */
.main-content {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  font-weight: 700;
}

.section-desc {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #666;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.service-desc {
  color: #666;
  line-height: 1.6;
}

/* Skills Section */
.skills-section {
  margin-bottom: 5rem;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.skill-item:hover {
  transform: translateY(-5px);
}

.skill-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 0.75rem;
}

.skill-name {
  font-weight: 500;
  color: var(--dark-color);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 250px;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 1.5rem;
  transition: var(--transition);
}

.portfolio-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.portfolio-category {
  font-size: 0.9rem;
  opacity: 0.8;
}

.portfolio-category a {
  color: white;
  text-decoration: none;
}

/* Innovation Section */
.innovation-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 4rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  margin-bottom: 5rem;
}

.innovation-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.innovation-desc {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-btn {
  background-color: white;
  color: var(--primary-color);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.hero-btn a {
  color: inherit;
  text-decoration: none;
}

/* Footer */
.cus-footer {
  background-color: #f8f9fa;
  padding: 3rem 2rem 1rem;
  color: #495057;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: var(--dark-color);
  font-weight: 600;
}

.footer-desc {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-link {
  color: #495057;
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #dee2e6;
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
  }
  
  .nav.open {
    right: 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .skills-container {
    gap: 1.5rem;
  }
  
  .skill-icon {
    width: 50px;
    height: 50px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 1rem;
  }
  
  .header.scrolled {
    padding: 0.75rem 1rem;
  }
  
  .hero {
    padding: 4rem 1rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .main-content {
    padding: 3rem 1rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}